package com.company.bookstore.qo.user_admin_module;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * UserQo
 *
 * @blame Android Team
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserQo {
    @ApiModelProperty(value = "用户id，只在修改的时候指定",example="7")
    private Integer id;
    @ApiModelProperty(value = "用户姓名,8-20个字符",example="zyxzyx")
    private String username;
    @ApiModelProperty(value = "用户密码,8-20个字符",example="1213124421")
    private String password;
    @ApiModelProperty(value = "用户邮箱,",example="9849849@15156.com")
    private String email;
    @ApiModelProperty(value = "用户手机,11-12个数字",example="1213124421")
    private String phone;
    @ApiModelProperty(value = "用户默认收货地址id",example="")
    private Integer fkAddressId;
    @ApiModelProperty(value = "用户默认收货地址，支持中文，字母，数字，_-",example="1213124421")
    private String tempAdd;
    @ApiModelProperty(value = "可用状态，默认为1，修改时指定",example="")
    private Integer enable;
    @ApiModelProperty(value = "删除状态，默认为0，修改时指定",example="")
    private Integer deleted;
    @ApiModelProperty(value = "页大小",example="1")
    private Integer pageSize;
    @ApiModelProperty(value = "页数",example="1")
    private Integer pageNum;
    @ApiModelProperty(value = "性别,0为男性，1为女性",example="")
    private Boolean gender;
    @ApiModelProperty(value = "图片uri",example="")
    private String avatar;
}
